home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10637 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 65 6e 67 | 2e 63 6f 6e 76 65 78 2e |news.eng|.convex.|
|00000030| 63 6f 6d 21 61 72 63 6f | 21 75 73 65 6e 65 74 0a |com!arco|!usenet.|
|00000040| 46 72 6f 6d 3a 20 22 42 | 72 69 61 6e 20 46 2e 20 |From: "B|rian F. |
|00000050| 4c 65 61 63 68 22 20 3c | 6c 61 73 62 66 6c 40 61 |Leach" <|lasbfl@a|
|00000060| 61 69 2e 61 72 63 6f 2e | 63 6f 6d 3e 0a 53 75 62 |ai.arco.|com>.Sub|
|00000070| 6a 65 63 74 3a 20 52 65 | 3a 20 51 3a 20 42 6f 6f |ject: Re|: Q: Boo|
|00000080| 6b 20 6f 6e 20 43 20 61 | 6e 64 20 4c 6f 77 2d 6c |k on C a|nd Low-l|
|00000090| 65 76 65 6c 20 55 4e 49 | 58 0a 58 2d 4e 6e 74 70 |evel UNI|X.X-Nntp|
|000000a0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 31 |-Posting|-Host: 1|
|000000b0| 33 36 2e 32 32 36 2e 31 | 30 36 2e 31 33 33 0a 43 |36.226.1|06.133.C|
|000000c0| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|000000d0| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|000000e0| 3d 75 73 2d 61 73 63 69 | 69 0a 4d 65 73 73 61 67 |=us-asci|i.Messag|
|000000f0| 65 2d 49 44 3a 20 3c 44 | 6e 7a 33 33 79 2e 46 30 |e-ID: <D|nz33y.F0|
|00000100| 39 40 6e 65 77 73 2e 61 | 72 63 6f 2e 63 6f 6d 3e |9@news.a|rco.com>|
|00000110| 0a 54 6f 3a 20 67 72 6f | 62 65 72 74 73 40 63 6f |.To: gro|berts@co|
|00000120| 76 65 6e 74 72 79 2e 61 | 63 2e 75 6b 0a 53 65 6e |ventry.a|c.uk.Sen|
|00000130| 64 65 72 3a 20 75 73 65 | 6e 65 74 40 6e 65 77 73 |der: use|net@news|
|00000140| 2e 61 72 63 6f 2e 63 6f | 6d 0a 43 6f 6e 74 65 6e |.arco.co|m.Conten|
|00000150| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|00000160| 69 6e 67 3a 20 37 62 69 | 74 0a 4f 72 67 61 6e 69 |ing: 7bi|t.Organi|
|00000170| 7a 61 74 69 6f 6e 3a 20 | 41 52 43 4f 20 41 6c 61 |zation: |ARCO Ala|
|00000180| 73 6b 61 2c 20 49 6e 63 | 2e 0a 52 65 66 65 72 65 |ska, Inc|..Refere|
|00000190| 6e 63 65 73 3a 20 3c 50 | 69 6e 65 2e 4f 53 46 2e |nces: <P|ine.OSF.|
|000001a0| 33 2e 39 31 2e 39 36 30 | 33 30 38 31 30 34 35 33 |3.91.960|30810453|
|000001b0| 33 2e 31 35 39 37 37 41 | 2d 31 30 30 30 30 30 40 |3.15977A|-100000@|
|000001c0| 6c 65 6f 66 72 69 63 3e | 0a 4d 69 6d 65 2d 56 65 |leofric>|.Mime-Ve|
|000001d0| 72 73 69 6f 6e 3a 20 31 | 2e 30 0a 44 61 74 65 3a |rsion: 1|.0.Date:|
|000001e0| 20 46 72 69 2c 20 38 20 | 4d 61 72 20 31 39 39 36 | Fri, 8 |Mar 1996|
|000001f0| 20 32 33 3a 34 30 3a 34 | 36 20 47 4d 54 0a 58 2d | 23:40:4|6 GMT.X-|
|00000200| 4d 61 69 6c 65 72 3a 20 | 4d 6f 7a 69 6c 6c 61 20 |Mailer: |Mozilla |
|00000210| 31 2e 31 4e 20 28 4d 61 | 63 69 6e 74 6f 73 68 3b |1.1N (Ma|cintosh;|
|00000220| 20 49 3b 20 50 50 43 29 | 0a 58 2d 55 72 6c 3a 20 | I; PPC)|.X-Url: |
|00000230| 6e 65 77 73 3a 50 69 6e | 65 2e 4f 53 46 2e 33 2e |news:Pin|e.OSF.3.|
|00000240| 39 31 2e 39 36 30 33 30 | 38 31 30 34 35 33 33 2e |91.96030|8104533.|
|00000250| 31 35 39 37 37 41 2d 31 | 30 30 30 30 30 40 6c 65 |15977A-1|00000@le|
|00000260| 6f 66 72 69 63 0a 0a 47 | 61 72 65 74 68 20 52 6f |ofric..G|areth Ro|
|00000270| 62 65 72 74 73 20 3c 67 | 72 6f 62 65 72 74 73 40 |berts <g|roberts@|
|00000280| 63 6f 76 65 6e 74 72 79 | 2e 61 63 2e 75 6b 3e 20 |coventry|.ac.uk> |
|00000290| 77 72 6f 74 65 3a 0a 3e | 0a 3e 48 69 2e 0a 3e 41 |wrote:.>|.>Hi..>A|
|000002a0| 20 66 72 69 65 6e 64 20 | 6f 66 20 6d 69 6e 65 20 | friend |of mine |
|000002b0| 61 73 6b 65 64 20 6d 65 | 20 74 6f 20 70 75 74 20 |asked me| to put |
|000002c0| 74 68 69 73 20 71 75 65 | 73 74 69 6f 6e 20 6f 6e |this que|stion on|
|000002d0| 20 61 20 43 20 72 65 6c | 61 74 65 64 0a 3e 67 72 | a C rel|ated.>gr|
|000002e0| 6f 75 70 2c 20 61 62 6f | 75 74 20 66 69 6e 64 69 |oup, abo|ut findi|
|000002f0| 6e 67 20 61 70 70 72 6f | 70 72 69 61 74 65 20 62 |ng appro|priate b|
|00000300| 6f 6f 6b 73 20 6f 6e 20 | 74 68 69 73 20 73 75 62 |ooks on |this sub|
|00000310| 6a 65 63 74 2e 0a 3e 0a | 3e 49 66 20 79 6f 75 20 |ject..>.|>If you |
|00000320| 63 6f 75 6c 64 20 45 6d | 61 69 6c 20 65 69 74 68 |could Em|ail eith|
|00000330| 65 72 20 6d 65 20 28 67 | 72 6f 62 65 72 74 73 40 |er me (g|roberts@|
|00000340| 63 6f 76 65 6e 74 72 79 | 2e 61 63 2e 75 6b 29 20 |coventry|.ac.uk) |
|00000350| 6f 72 0a 3e 68 69 6d 20 | 64 69 72 65 63 74 6c 79 |or.>him |directly|
|00000360| 20 28 52 6f 62 65 72 74 | 2e 44 61 75 6c 74 6f 6e | (Robert|.Daulton|
|00000370| 40 73 63 6c 2e 63 6f 6d | 29 2c 20 74 68 61 74 20 |@scl.com|), that |
|00000380| 77 6f 75 6c 64 20 62 65 | 20 67 72 65 61 74 2e 0a |would be| great..|
|00000390| 3e 0a 3e 43 68 65 65 72 | 73 2e 0a 3e 47 61 72 65 |>.>Cheer|s..>Gare|
|000003a0| 74 68 2e 0a 3e 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |th..>---|--------|
|000003b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003e0| 2d 2d 2d 2d 2d 0a 3e 53 | 75 62 6a 65 63 74 3a 20 |-----.>S|ubject: |
|000003f0| 6c 6f 77 20 6c 65 76 65 | 6c 20 43 20 71 75 65 72 |low leve|l C quer|
|00000400| 79 0a 3e 46 72 6f 6d 3a | 20 52 6f 62 65 72 74 20 |y.>From:| Robert |
|00000410| 44 61 75 6c 74 6f 6e 20 | 3c 52 6f 62 65 72 74 2e |Daulton |<Robert.|
|00000420| 44 61 75 6c 74 6f 6e 40 | 73 63 6c 2e 63 6f 6d 3e |Daulton@|scl.com>|
|00000430| 0a 3e 53 65 6e 64 65 72 | 3a 20 52 6f 62 65 72 74 |.>Sender|: Robert|
|00000440| 2e 44 61 75 6c 74 6f 6e | 40 73 63 6c 2e 63 6f 6d |.Daulton|@scl.com|
|00000450| 0a 3e 0a 3e 0a 3e 49 20 | 6e 65 65 64 20 61 20 64 |.>.>.>I |need a d|
|00000460| 61 6d 6d 6e 65 64 20 67 | 6f 6f 64 20 43 20 62 6f |ammned g|ood C bo|
|00000470| 6f 6b 20 74 68 61 74 20 | 63 6f 76 65 72 73 20 74 |ok that |covers t|
|00000480| 6f 70 69 63 73 20 72 65 | 6c 61 74 65 64 20 74 6f |opics re|lated to|
|00000490| 20 55 4e 49 58 20 6c 6f | 77 20 6c 65 76 65 6c 0a | UNIX lo|w level.|
|000004a0| 3e 73 79 73 74 65 6d 20 | 63 61 6c 6c 73 2c 20 73 |>system |calls, s|
|000004b0| 75 63 68 20 61 73 20 73 | 69 67 6e 61 6c 73 2c 20 |uch as s|ignals, |
|000004c0| 66 6f 72 6b 73 2c 20 69 | 70 63 2c 20 74 68 72 65 |forks, i|pc, thre|
|000004d0| 61 64 73 2c 20 73 6f 63 | 6b 65 74 73 2c 20 70 69 |ads, soc|kets, pi|
|000004e0| 70 65 73 2c 0a 3e 6e 65 | 74 77 6f 72 6b 73 2c 20 |pes,.>ne|tworks, |
|000004f0| 69 6e 74 65 72 72 75 70 | 74 73 2c 20 66 69 6c 65 |interrup|ts, file|
|00000500| 73 20 61 6e 64 20 73 6f | 20 6f 6e 2e 0a 3e 45 73 |s and so| on..>Es|
|00000510| 73 65 6e 74 69 61 6c 6c | 79 2c 20 74 68 65 20 6d |sentiall|y, the m|
|00000520| 6f 72 65 20 69 74 20 63 | 6f 76 65 72 73 20 61 6c |ore it c|overs al|
|00000530| 6c 20 74 68 6f 73 65 20 | 6d 79 73 74 65 72 69 6f |l those |mysterio|
|00000540| 75 73 20 68 65 61 64 65 | 72 20 66 69 6c 65 73 20 |us heade|r files |
|00000550| 77 68 69 63 68 0a 3e 65 | 78 69 73 74 20 69 6e 20 |which.>e|xist in |
|00000560| 2f 75 73 72 2f 69 6e 63 | 6c 75 64 65 2c 20 2f 75 |/usr/inc|lude, /u|
|00000570| 73 72 2f 69 6e 63 6c 75 | 64 65 2f 73 79 73 2c 20 |sr/inclu|de/sys, |
|00000580| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 69 6e 63 6c 75 |/usr/loc|al/inclu|
|00000590| 64 65 2c 20 61 6e 64 20 | 6f 74 68 65 72 73 2c 0a |de, and |others,.|
|000005a0| 3e 74 68 65 6e 20 61 6c | 6c 20 74 68 65 20 62 65 |>then al|l the be|
|000005b0| 74 74 65 72 2e 20 42 79 | 20 74 68 65 20 77 61 79 |tter. By| the way|
|000005c0| 2c 20 49 20 64 6f 6e 74 | 20 77 61 6e 74 20 61 6e |, I dont| want an|
|000005d0| 79 74 68 69 6e 67 20 77 | 68 69 63 68 20 6a 75 73 |ything w|hich jus|
|000005e0| 74 0a 3e 72 65 67 75 72 | 67 69 74 61 74 65 73 20 |t.>regur|gitates |
|000005f0| 74 68 65 20 55 4e 49 58 | 20 6d 61 6e 20 70 61 67 |the UNIX| man pag|
|00000600| 65 73 2e 20 49 20 77 61 | 6e 74 20 61 20 66 72 69 |es. I wa|nt a fri|
|00000610| 65 6e 64 79 2c 20 75 6e | 64 65 72 73 74 61 6e 64 |endy, un|derstand|
|00000620| 61 62 6c 65 0a 3e 64 69 | 73 63 75 73 73 69 6f 6e |able.>di|scussion|
|00000630| 20 6f 6e 20 68 6f 77 20 | 74 6f 20 77 72 69 74 65 | on how |to write|
|00000640| 20 43 20 70 72 6f 67 72 | 61 6d 73 20 77 68 69 63 | C progr|ams whic|
|00000650| 68 20 63 61 6e 20 74 61 | 6b 65 20 61 64 76 61 6e |h can ta|ke advan|
|00000660| 74 61 67 65 20 6f 66 20 | 74 68 65 73 65 0a 3e 6f |tage of |these.>o|
|00000670| 62 6a 65 63 74 73 2e 20 | 49 20 61 6c 73 6f 20 6b |bjects. |I also k|
|00000680| 6e 6f 77 20 74 68 61 74 | 20 73 6f 6d 65 20 6f 66 |now that| some of|
|00000690| 20 74 68 65 73 65 20 68 | 65 61 64 65 72 20 66 69 | these h|eader fi|
|000006a0| 6c 65 73 20 61 72 65 20 | 4f 53 20 73 70 65 63 69 |les are |OS speci|
|000006b0| 66 69 63 2c 0a 3e 62 75 | 74 20 61 20 68 65 6c 6c |fic,.>bu|t a hell|
|000006c0| 20 6f 66 20 61 20 6c 6f | 74 20 61 72 65 6e 60 74 | of a lo|t aren`t|
|000006d0| 2c 20 73 6f 20 74 68 65 | 72 65 20 6d 75 73 74 20 |, so the|re must |
|000006e0| 62 65 20 61 20 62 6f 6f | 6b 20 73 6f 6d 65 77 68 |be a boo|k somewh|
|000006f0| 65 72 65 20 77 68 69 63 | 68 0a 3e 63 6f 76 65 72 |ere whic|h.>cover|
|00000700| 73 20 74 68 69 73 20 73 | 74 75 66 66 2e 0a 3e 0a |s this s|tuff..>.|
|00000710| 3e 54 68 61 6e 6b 73 20 | 66 6f 72 20 61 6e 79 20 |>Thanks |for any |
|00000720| 68 65 6c 70 2e 2e 2e 0a | 3e 0a 3e 52 6f 62 2e 0a |help....|>.>Rob..|
|00000730| 0a 41 6e 20 65 78 63 65 | 6c 6c 65 6e 74 20 72 65 |.An exce|llent re|
|00000740| 66 65 72 65 6e 63 65 20 | 49 20 75 73 65 64 20 66 |ference |I used f|
|00000750| 6f 72 20 61 20 70 72 6f | 6a 65 63 74 20 77 68 65 |or a pro|ject whe|
|00000760| 72 65 20 49 20 68 61 64 | 20 74 6f 20 6d 61 6e 61 |re I had| to mana|
|00000770| 67 65 0a 6d 75 6c 74 69 | 70 6c 65 20 70 72 6f 63 |ge.multi|ple proc|
|00000780| 65 73 73 69 65 73 20 69 | 73 3a 20 55 4e 49 58 20 |essies i|s: UNIX |
|00000790| 53 79 73 74 65 6d 20 50 | 72 6f 67 72 61 6d 6d 69 |System P|rogrammi|
|000007a0| 6e 67 2c 20 4b 65 69 74 | 68 20 48 61 76 69 6c 61 |ng, Keit|h Havila|
|000007b0| 6e 64 20 0a 61 6e 64 20 | 42 65 6e 20 53 61 6c 61 |nd .and |Ben Sala|
|000007c0| 6d 61 2c 20 41 64 64 69 | 73 6f 6e 20 57 65 73 6c |ma, Addi|son Wesl|
|000007d0| 65 79 20 49 53 42 4e 20 | 30 2d 32 30 31 2d 31 32 |ey ISBN |0-201-12|
|000007e0| 39 31 39 2d 31 2e 0a 0a | 55 6e 66 6f 72 74 75 6e |919-1...|Unfortun|
|000007f0| 61 74 65 6c 79 2c 20 49 | 20 64 6f 6e 27 74 20 62 |ately, I| don't b|
|00000800| 65 6c 69 65 76 65 20 69 | 74 20 63 6f 76 65 72 73 |elieve i|t covers|
|00000810| 20 74 68 72 65 61 64 73 | 2c 20 62 75 74 20 69 74 | threads|, but it|
|00000820| 20 64 6f 65 73 20 76 65 | 72 79 0a 65 66 66 65 63 | does ve|ry.effec|
|00000830| 74 69 76 65 6c 79 20 63 | 6f 76 65 72 20 61 6c 6c |tively c|over all|
|00000840| 20 6c 65 76 65 6c 73 20 | 6f 66 20 49 2f 4f 2c 20 | levels |of I/O, |
|00000850| 6d 75 6c 74 69 70 6c 65 | 20 70 72 6f 63 65 73 73 |multiple| process|
|00000860| 65 73 2c 20 73 79 73 74 | 65 6d 20 63 61 6c 6c 73 |es, syst|em calls|
|00000870| 2c 0a 69 6e 74 65 72 70 | 72 6f 63 65 73 73 20 63 |,.interp|rocess c|
|00000880| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 2c 20 61 6e |ommunica|tion, an|
|00000890| 64 20 63 75 72 73 65 73 | 2e 0a 0a 2d 42 72 69 61 |d curses|...-Bria|
|000008a0| 6e 20 0a 0a 0a | |n ... | |
+--------+-------------------------+-------------------------+--------+--------+